package enemies;

import com.badlogic.gdx.graphics.g2d.TextureRegion;
import com.doge.*;
import com.doge.Character;

public class SleepyDragon extends Character
{	
	public SleepyDragon(TextureRegion t, Tile position){
		super(t,position);
		
		name = "Sleepy Dragon";
		health = 500;
		dogeCoins = 300;
		/*name, statamt, stat(0 = dmg, 1 = healing), energyreq*/
		battleActions.add(new BattleAction("Snore",10,0,0));
		battleActions.add(new BattleAction("Night Terror",150,0,50));
		battleActions.add(new BattleAction("Groggy Swing",50,0,25));
	}

	public SleepyDragon( Tile position){
		this(Textures.sleepyDragon, position);
	}

	public BattleAction getNextAction()
	{
		if(health < 200 && energy > 50)
			return battleActions.get(1);
		else if (energy > 75)
			return battleActions.get(2);
		else
			return battleActions.get(0);
	}
}